<template>
  <div class="index-footer">
    <div class="left">
      <div class="copyright">电话：{{formList.mobile}}</div>
      <div class="copyright">邮编：{{formList.postcode}}</div>
      <div class="copyright">传真: {{formList.fax}}</div>
      <div class="copyright">地址：{{formList.address}}</div>
      <div class="copyright">{{formList.bei_an_hao}}</div>
      <div class="line"></div>
      <div class="copyright">{{formList.version_info}}</div>
      <!-- <div class="copyright">技术支持： 杭州信高亿达科技有限公司</div> -->
    </div>
    <div class="right">
      <div class="img-hanjiang" >
        <img :src="baseUrl+formList.wechat_gong_zhong_hao" style="width: 100%;height: 100%;"/>
      </div>
      <span>扫一扫 关注二维码</span>
    </div>
  </div>

</template>

<script>
import { getConfigInfo } from '@/api/storehousrConfig'
export default {
  name: 'IndexFooter',
  data(){
    return{
      formList:{},
      baseUrl: process.env.VUE_APP_BASE_API,
    }
  },
  created(){
    this.getConfig()
  },
  methods:{
    getConfig(){
      getConfigInfo().then(res => {
        this.formList=res
  	})
    },
  }
}
</script>

<style lang="scss" scoped>
	.index-footer {
	  width: 100%;
	  background: #074489;
	  color: #f4f4f4;
	  height: 302px;
	  padding: 0 280px;
	  display: flex;
    align-items: center;
    justify-content: space-between;
  .left{
    .line {
      width: 80px;
      height: 1px;
      background-color: #fff;
      margin-bottom: 15px;
    }
    .copyright {
      height: 32px;
		  text-align: left;
      font-size: 15px;

	  }
  }
  .right{
    display: flex;
    flex-direction: column;
    align-items: center;
    .img-hanjiang {
      width: 103px;
	    height: 103px;
      margin-bottom: 15px;
	  }
    span{
      font-size: 12px;
    }
  }
}
</style>
